package com.communal.util;

/**
 * Custom exception class for handling business logic exception <br>
 * @author Created by andrey.kuznetsov <br>
 * @author Last modified by $Author$ <br>
 * @author Last modified on $Date$ at revision $Revision$ <br>
 */
public class AppException extends Exception {

	
	private static final long serialVersionUID = -5614670853658886730L;
	
	private String message;

	/**
	 * Constructor for {@link AppException} <br>
	 * @param p_message - error message; {@link String}
	 */
	public AppException(String p_message) {
		message = p_message;
	}

	/**
	 * Sets error message <br>
	 * @param message; {@link String}
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * Returns error message <br>
	 * @return {@link String}
	 */
	public String getMessage() {
		return message;
	}
	
	

}
